* {
    font-family: sans-serif;
}

html {
    padding: 0px;
    margin: 0px;
}

body { 
    padding: 5px;
    margin: 0px;
}

div {
    padding: 0px;
    margin: 0px;
}


#header {
    background: #88d;
    padding: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.box {
    border: 1px solid #ccc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 20px;
    margin: 10px;
}

#header h1 {
    padding:0px;
    margin: 0px;
    display: block;
    float: right;
    clear: right;
}

#footer {
    padding: 5px;
    background: #88d;
    text-align: center;
    height: 50px;
    color: #fff;
    font-size: 12px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#user_info {
    color: #fff;
    float: right;
    font-size: 12px;
}

pre, textarea, tt {
    font-family: monospace;
}

#header > h1 > a, #header > h1 > a:visited {
    color: #eee;
    text-decoration: none;
    margin: 5px;
}

.nav {
    float: left;
    display: inline;
    padding: 0px;
    margin: 0px;
}

.page_actions {
    text-align: right;
}

.page_actions ul {
    display: inline;
}

.page_actions li {
    display: inline;
    font-size: 12px;
}

.page_actions a {
    text-decoration: none;
    color: #ffe;
    padding: 3px;
}

.page_actions a:hover {
    text-decoration: underline;
    background: #99b;
}

#page_info {
    font-size: 12px;
    color: #777;
}

/*
#page_actions form {
    display: inline;
}
*/

#content {
    padding: 3px;
}

div.wiki_content {
    margin: 15px;
}

.wiki_content h1 {
}

.wiki_content h2 {
}

.wiki_content p {
}

.wiki_content table {
    border: 1px solid #000;
    border-collapse: collapse;
}

.wiki_content td {
    border: 1px solid #777;
}

.wiki_content th {
    border: 1px solid #000;
    background: #ccc;
}

/*
.page_edit {
    position: absolute;
    right: 20px;
    left: 10px;
    display: block;
}
*/

.page_edit input, .page_edit textarea {
    margin: 4px; 
}

.page_edit input[name="title"], 
.page_edit textarea[name="body"],
.page_edit input[name="comment"] {
    width: 99%;
}

.page_edit input[type=submit] {
    width: auto;
}

.page_edit table {
    width: 100%;
}

.page_edit h2 {

}

.page_edit th {
    white-space: nowrap;
    vertical-align: top;
    padding-top: 7px;
    text-align: left;
}

.page_edit table td {
    width: 100%;
}

/* Some crazy shit to dynamicly include templates */
<%! from mako import runtime as rt %>
% for csstemplate in c.config['mtp.extra_css']:
    <% rt._include_file(context, csstemplate, _template_uri) %>
% endfor

#login {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
}

#login label {
    width: 100px;
    display: block;
    float: left;
    margin: 2px;
    text-align: right;
    margin-top: 5px;
}
#login input {
    margin: 2px;
}
#login input[type="submit"] {
    margin-left: 105px;
}

pre.diff_line {
    display: inline;
}

.diff_addition {
    background: #cfc;
}

.diff_removal {
    background: #fcc;
}

.diff_comment {
    background: #ddd;
    color: #999;
}


